package polish;

public interface Stackable <T>{
	
//	 useful for making the implementation variable.
	//Overflow Exception is needed f.e. when we're using an array to implement the stack instead of a linked list.

	public void push (T o) throws StackOverflowException ;  

	public T pop () throws StackEmptyException;

	public T peek () throws StackEmptyException ;

	public Boolean isEmpty ();

}
